package org.jeecg.modules.cost.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 成本调整明细表
 * @Author: jeecg-boot
 * @Date:   2023-12-18
 * @Version: V1.0
 */
@ApiModel(value="mt_cost_change_item对象", description="成本调整明细表")
@Data
@TableName("mt_cost_change_item")
public class MtCostChangeItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**主表Id*/
    @ApiModelProperty(value = "主表Id")
    private String costId;
	/**设备Id*/
	@Excel(name = "设备Id", width = 15, dictTable = "mt_equip", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "设备Id")
    private String equipId;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String equipName;
	/**设备分类*/
	@Excel(name = "设备分类", width = 15)
    @ApiModelProperty(value = "设备分类")
    private String equipTypeId;
	/**售价*/
	@Excel(name = "售价", width = 15)
    @ApiModelProperty(value = "售价")
    private java.math.BigDecimal saleMoney;
	/**原成本价*/
	@Excel(name = "原成本价", width = 15)
    @ApiModelProperty(value = "原成本价")
    private java.math.BigDecimal incurred;
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private java.math.BigDecimal quantity;
	/**新成本价*/
	@Excel(name = "新成本价", width = 15)
    @ApiModelProperty(value = "新成本价")
    private java.math.BigDecimal newIncurred;
	/**原库存金额*/
	@Excel(name = "原库存金额", width = 15)
    @ApiModelProperty(value = "原库存金额")
    private java.math.BigDecimal storageAmount;
	/**新库存金额*/
	@Excel(name = "新库存金额", width = 15)
    @ApiModelProperty(value = "新库存金额")
    private java.math.BigDecimal newStorageAmount;
	/**变动金额*/
	@Excel(name = "变动金额", width = 15)
    @ApiModelProperty(value = "变动金额")
    private java.math.BigDecimal changedAmount;
}
